﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200119B RID: 4507
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SettleTrackPhotoStageCsReq : IMessage<SettleTrackPhotoStageCsReq>, IMessage, IEquatable<SettleTrackPhotoStageCsReq>, IDeepCloneable<SettleTrackPhotoStageCsReq>, IBufferMessage
	{
		// Token: 0x17003905 RID: 14597
		// (get) Token: 0x0600C9BD RID: 51645 RVA: 0x0021FB0F File Offset: 0x0021DD0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SettleTrackPhotoStageCsReq> Parser
		{
			get
			{
				return SettleTrackPhotoStageCsReq._parser;
			}
		}

		// Token: 0x17003906 RID: 14598
		// (get) Token: 0x0600C9BE RID: 51646 RVA: 0x0021FB16 File Offset: 0x0021DD16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SettleTrackPhotoStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003907 RID: 14599
		// (get) Token: 0x0600C9BF RID: 51647 RVA: 0x0021FB28 File Offset: 0x0021DD28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SettleTrackPhotoStageCsReq.Descriptor;
			}
		}

		// Token: 0x0600C9C0 RID: 51648 RVA: 0x0021FB2F File Offset: 0x0021DD2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageCsReq()
		{
		}

		// Token: 0x0600C9C1 RID: 51649 RVA: 0x0021FB44 File Offset: 0x0021DD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageCsReq(SettleTrackPhotoStageCsReq other) : this()
		{
			this.gNINDCOPPND_ = other.gNINDCOPPND_.Clone();
			this.costTime_ = other.costTime_;
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C9C2 RID: 51650 RVA: 0x0021FB91 File Offset: 0x0021DD91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SettleTrackPhotoStageCsReq Clone()
		{
			return new SettleTrackPhotoStageCsReq(this);
		}

		// Token: 0x17003908 RID: 14600
		// (get) Token: 0x0600C9C3 RID: 51651 RVA: 0x0021FB99 File Offset: 0x0021DD99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ECHLGCEPDLJ> GNINDCOPPND
		{
			get
			{
				return this.gNINDCOPPND_;
			}
		}

		// Token: 0x17003909 RID: 14601
		// (get) Token: 0x0600C9C4 RID: 51652 RVA: 0x0021FBA1 File Offset: 0x0021DDA1
		// (set) Token: 0x0600C9C5 RID: 51653 RVA: 0x0021FBA9 File Offset: 0x0021DDA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CostTime
		{
			get
			{
				return this.costTime_;
			}
			set
			{
				this.costTime_ = value;
			}
		}

		// Token: 0x1700390A RID: 14602
		// (get) Token: 0x0600C9C6 RID: 51654 RVA: 0x0021FBB2 File Offset: 0x0021DDB2
		// (set) Token: 0x0600C9C7 RID: 51655 RVA: 0x0021FBBA File Offset: 0x0021DDBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x0600C9C8 RID: 51656 RVA: 0x0021FBC3 File Offset: 0x0021DDC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SettleTrackPhotoStageCsReq);
		}

		// Token: 0x0600C9C9 RID: 51657 RVA: 0x0021FBD4 File Offset: 0x0021DDD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SettleTrackPhotoStageCsReq other)
		{
			return other != null && (other == this || (this.gNINDCOPPND_.Equals(other.gNINDCOPPND_) && this.CostTime == other.CostTime && this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C9CA RID: 51658 RVA: 0x0021FC34 File Offset: 0x0021DE34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gNINDCOPPND_.GetHashCode();
			if (this.CostTime != 0U)
			{
				num ^= this.CostTime.GetHashCode();
			}
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C9CB RID: 51659 RVA: 0x0021FC9A File Offset: 0x0021DE9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C9CC RID: 51660 RVA: 0x0021FCA2 File Offset: 0x0021DEA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C9CD RID: 51661 RVA: 0x0021FCAC File Offset: 0x0021DEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gNINDCOPPND_.WriteTo(ref output, SettleTrackPhotoStageCsReq._repeated_gNINDCOPPND_codec);
			if (this.StageId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.StageId);
			}
			if (this.CostTime != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.CostTime);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C9CE RID: 51662 RVA: 0x0021FD18 File Offset: 0x0021DF18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gNINDCOPPND_.CalculateSize(SettleTrackPhotoStageCsReq._repeated_gNINDCOPPND_codec);
			if (this.CostTime != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CostTime);
			}
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C9CF RID: 51663 RVA: 0x0021FD84 File Offset: 0x0021DF84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SettleTrackPhotoStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.gNINDCOPPND_.Add(other.gNINDCOPPND_);
			if (other.CostTime != 0U)
			{
				this.CostTime = other.CostTime;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C9D0 RID: 51664 RVA: 0x0021FDE5 File Offset: 0x0021DFE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C9D1 RID: 51665 RVA: 0x0021FDF0 File Offset: 0x0021DFF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 56U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.CostTime = input.ReadUInt32();
						}
					}
					else
					{
						this.StageId = input.ReadUInt32();
					}
				}
				else
				{
					this.gNINDCOPPND_.AddEntriesFrom(ref input, SettleTrackPhotoStageCsReq._repeated_gNINDCOPPND_codec);
				}
			}
		}

		// Token: 0x040050FA RID: 20730
		private static readonly MessageParser<SettleTrackPhotoStageCsReq> _parser = new MessageParser<SettleTrackPhotoStageCsReq>(() => new SettleTrackPhotoStageCsReq());

		// Token: 0x040050FB RID: 20731
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050FC RID: 20732
		public const int GNINDCOPPNDFieldNumber = 3;

		// Token: 0x040050FD RID: 20733
		private static readonly FieldCodec<ECHLGCEPDLJ> _repeated_gNINDCOPPND_codec = FieldCodec.ForMessage<ECHLGCEPDLJ>(26U, ECHLGCEPDLJ.Parser);

		// Token: 0x040050FE RID: 20734
		private readonly RepeatedField<ECHLGCEPDLJ> gNINDCOPPND_ = new RepeatedField<ECHLGCEPDLJ>();

		// Token: 0x040050FF RID: 20735
		public const int CostTimeFieldNumber = 14;

		// Token: 0x04005100 RID: 20736
		private uint costTime_;

		// Token: 0x04005101 RID: 20737
		public const int StageIdFieldNumber = 7;

		// Token: 0x04005102 RID: 20738
		private uint stageId_;
	}
}
